#pragma once
#ifndef SIMU_ERROR
#define SIMU_ERROR

typedef struct Location {
    /* all members are private to qemu-error.c */
    enum { LOC_NONE, LOC_CMDLINE, LOC_FILE } kind;
    int num;
    const void* ptr;
    struct Location* prev;
} Location;

#endif // !SIMU_ERROR
